package com.fqy.gmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fqy.gmall.model.product.SpuImage;
import com.fqy.gmall.model.product.SpuSaleAttr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {
    //根据spuid 回显销售属性，销售属性值！
    List<SpuSaleAttr> selectSpuSaleAttrList(@Param("spuId") Long spuId);

    List<SpuSaleAttr> selectSpuSaleAttrListById(Long skuId, Long spuId);
}
